import time
import datetime
from PageLocators.AR.ar_home_loc import ArHomePageLocator as ar_loc


# 选择模块-题目管理
qbm_subject_module_params = {
    "nb2_loc": ar_loc.subject_loc,
    "nb2_name": "题目管理"
}
# 选择模块-试卷管理
qbm_examination_paper_module_params = {
    "nb2_loc": ar_loc.test_paper_loc,
    "nb2_name": "试卷管理"
}

# scratch操作题-题目名称
qbm_subject_scratch_name = "UI-scratch题{}".format(time.strftime("%m%d%H%M"))
# python操作题-题目名称
qbm_subject_python__name = "UI-python题{}".format(time.strftime("%m%d%H%M"))

# 创建人
qbm_subject_create_name = "UI自动化"

# 新增题目-下拉框选项，配合option_loc使用
qbm_option_data = {
    "scratch_check": "scratch操作题",
    "python_check": "python操作题",
    "level": "L2",
    "diff": "1",
    "type": "编程营"
}

# 题目文本
qbm_subject_text1 = "文本一"
qbm_subject_text2 = "文本二"
qbm_subject_text3 = "文本三"
# 知识点
knowledge_point_text = "知识点"
# 评分标准
scale_rule_text = "评分标准"
# 预置代码
qbm_preset_code_text = "print(111)"
# 参考答案
qbm_scale_rule_text = "print(111)"

# ------------列表搜索数据-------------
# 题目名称
qbm_search_subject_name = "UI-scratch题"
# 题目ID
qbm_search_subject_ID = "1842"
# 题型
qbm_search_question_type = "scratch操作题"
# 课程类型
qbm_search_course_type = "编程营"
# 等级
qbm_search_level = "L2"
# 难度
qbm_search_difficulty = "1"
# 创建人
qbm_search_created = "UI"


# --------------------试卷管理页面数据---------------------------------
ep_name_data = "UI试卷名称{}".format(time.strftime("%m%d%H%M"))
ep_course_type = "编程营"
ep_level = "L2"
ep_diff = "1"
ep_created_data = "UI自动化"
ep_chinese_text_data = "结果页中文文案"
ep_window_subject_name_data = "UI"
ep_lst_name_data = "UI试卷名称"
ep_lst_id_data = "1216"



